package com.tl.mybatis02.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author Antg
 * @date 2021/8/214:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Integer age;
    private Date birthday;
    private Integer delState;
    private Date createTime;
    private Date updateTime;
    private List<Address> addressList;

    public Student(String username, String password, String nickname, Integer age, Date birthday) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.age = age;
        this.birthday = birthday;
    }
}
